package club.banyuan.oop.VideoDemo;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/19 下午5:02
 */
public class VideoStoreLauncher {
    public static void main(String[] args) {
VideoStore videoStore=new VideoStore();


        Video video = new Video();
        video.setName("哪吒");

        video=new Video();
        video.setName("姜子牙");
//        videoStore.addVideo(video.getName());
//        videoStore.checkOut("教父");

        video=new Video();
        video.setName("二郎神");
//        videoStore.addVideo(video.getName());

        System.out.println(video.toString());
        videoStore.addVideo("黑客帝国");

    }
}
